Function.prototype.Apply = function (context,args) {
    context = context || window;
    context.fn = this;
    const result = context.fn(...args);
    delete context.fn;
    return result;
}

var Obj = {
    name :'sunqi',
    sayName:function (age,location) {
        console.log(this.name,age,location)
    }
}

Obj.sayName.Apply({name:'孙qi'},[18,'湖南长沙']);
